function bankListColumns(_this) {
  let vm = _this
  return bankListColumns = [{
      title: '序号',
      type: 'index',
      width: 70,
      align: 'center',
    },
    {
      title: '产品名称',
      key: 'productName',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h('div', params.row.productName || '-')
      },
    },
    {
      title: '产品类型',
      key: 'productType',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h(
          'div',
          vm.$formatter.switchName(
            'productType',
            params.row.productType
          ) || '-'
        )
      },
    },
    {
      title: '建筑类型',
      key: 'buildingType',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h(
          'div', {
            style: {
              overflow: 'hidden',
              whiteSpace: 'nowrap',
              textOverflow: 'ellipsis',
              cursor: 'pointer',
            },
          },
          [
            vm.buildingTypeSwitch(
              params.row.productType,
              params.row.buildingTypes
            ) ?
            h(
              'Poptip', {
                props: {
                  placement: 'top',
                  transfer: true,
                  width: '380',
                  trigger: 'hover',
                  popperClass: 'N_poptip',
                },
                style: {
                  width: '100%',
                },
              },
              [
                h(
                  'span', {
                    class: 'featureZ'
                  },
                  vm.buildingTypeSwitch(
                    params.row.productType,
                    params.row.buildingTypes
                  )
                ),

                h(
                  'div', {
                    slot: 'content',
                  },
                  vm.buildingTypeSwitch(
                    params.row.productType,
                    params.row.buildingTypes
                  )
                ),
              ]
            ) :
            '-',
          ]
        )
      },
    },
    {
      title: '楼栋数',
      key: 'buildingCount',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h('div', params.row.buildingCount || '-')
      },
    },
    {
      title: '所属地块',
      key: 'plateName',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h('div', params.row.plateName || '-')
      },
    },
    {
      title: '合作模式',
      key: 'coopMode',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h(
          'div',
          vm.$formatter.switchName(
            'cooperationModeAttrSort',
            params.row.coopMode
          ) || '-'
        )
      },
    },
    {
      title: '销售模式',
      key: 'sellMode',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h(
          'div',
          vm.$formatter.switchName('salesModel', params.row.sellMode) ||
          '-'
        )
      },
    },
    {
      title: '创建日期',
      key: 'createTime',
      minWidth: 120,
      align: 'center',
      render: (h, params) => {
        return h('div', params.row.createTime ? params.row.createTime : '-')
      },
    },
  ]
}
export default {
  bankListColumns
}